package com.cnap.db.entity;

import java.util.List;
import java.util.Map;

/**
 * 阶段数据库模型
 *
 * @author xc
 **/
public class StagePO {
    // id
    private String id;
    // svcId
    private String serviceId;
    // 类型
    private String type;
    // 额外信息
    private List<Map<String, String>> extraInfo;
    // 错误信息
    private String error;
    // 二级分类序号
    private int order;
    // 二级分类
    private String detailType;
    // 云商  public private
    private String cloudScope;
    // cpu  gpu
    private String arch;

    /**
     * get
     *
     * @return CloudScope
     */
    public String getCloudScope() {
        return cloudScope;
    }

    /**
     * set
     *
     * @param cloudScope cloudScope
     */
    public void setCloudScope(String cloudScope) {
        this.cloudScope = cloudScope;
    }

    /**
     * get
     *
     * @return Arch
     */
    public String getArch() {
        return arch;
    }

    /**
     * set
     *
     * @param arch arch
     */
    public void setArch(String arch) {
        this.arch = arch;
    }

    /**
     * get
     *
     * @return Order
     */
    public int getOrder() {
        return order;
    }

    /**
     * set
     *
     * @param order order
     */
    public void setOrder(int order) {
        this.order = order;
    }

    /**
     * get
     *
     * @return DetailType
     */
    public String getDetailType() {
        return detailType;
    }

    /**
     * set
     *
     * @param detailType detailType
     */
    public void setDetailType(String detailType) {
        this.detailType = detailType;
    }

    /**
     * get
     *
     * @return Id
     */
    public String getId() {
        return id;
    }

    /**
     * set
     *
     * @param id id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * get
     *
     * @return SvcId
     */
    public String getServiceId() {
        return serviceId;
    }

    /**
     * set
     *
     * @param serviceId svcId
     */
    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    /**
     * get
     *
     * @return Type
     */
    public String getType() {
        return type;
    }

    /**
     * set
     *
     * @param type type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * get
     *
     * @return ExtraInfo
     */
    public List<Map<String, String>> getExtraInfo() {
        return extraInfo;
    }

    /**
     * set
     *
     * @param extraInfo extraInfo
     */
    public void setExtraInfo(List<Map<String, String>> extraInfo) {
        this.extraInfo = extraInfo;
    }

    /**
     * get
     *
     * @return Error
     */
    public String getError() {
        return error;
    }

    /**
     * set
     *
     * @param error error
     */
    public void setError(String error) {
        this.error = error;
    }

    @Override
    public String toString() {
        return "StagePO{" +
                "id='" + id + '\'' +
                ", serviceId='" + serviceId + '\'' +
                ", type='" + type + '\'' +
                ", extraInfo=" + extraInfo +
                ", error='" + error + '\'' +
                '}';
    }
}
